import Layout from "@/layout/index";

export default {
    //优惠券管理
    path: '/coupon',
    redirect: '/coupon/list',
    meta: {
        path:'coupon'
    },
    component: Layout,
    children: [
        {
            //优惠券列表
            path: 'list',
            name: 'CouponList',
            meta: {
                path:'coupon/list'
            },
            component: () => import('@/views/coupon/couponList/index'),
        },

        {
            //用户领取明细
            path: 'userList',
            name: 'CouponUserList',
            meta: {
                path:'coupon/userList'
            },
            component: () => import('@/views/coupon/couponUserList/index'),
        },
        {
            //手动定向发放
            path: 'manualSendList',
            name: 'CouponManualSendList',
            meta: {
                path:'coupon/manualSendList'
            },
            component: () => import('@/views/coupon/manualSendList/index'),
        },
    ]
}
